package com.jsj.dao;

import com.jsj.domain.SimpleUser;
import com.jsj.domain.Teacher;
import com.jsj.domain.uid_score;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TeacherDao {
    Teacher queryByUserName(String username);
    List<SimpleUser> querySimpUser(String id);
    List<uid_score> queryProblemScore(@Param("claid") String claid, @Param("topid") String topid);
    List<String> getTopList(String classid);
}
